//
//  KBselectedCell.m
//  喜马拉雅改良版框架
//
//  Created by dllo on 15/12/28.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "KBselectedCell.h"

@implementation KBselectedCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
//        [self createSubViews];
    }
    return self;
}


-(void)setStr:(NSString *)str
{
    self.contentView.backgroundColor = [UIColor colorWithRed:0.95 green:0.96 blue:0.96 alpha:1];
    self.layer.masksToBounds = YES;
    self.layer.cornerRadius = 5;
    _text = [[UILabel alloc] initWithFrame:CGRectMake(0, 5, SCREEN_WIDTH / 4 - 15, 20)];
    _text.font = [UIFont systemFontOfSize:17];
    _text.textColor = [UIColor blackColor];
    _text.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:_text];
    _text.text = str;

    NSLog(@"sss = %@", _text.text);
}


@end
